package com.woniuxy.impl;

import com.woniuxy.Person;

public class American implements Person {
    String name;

    public American() {
    }

    public American(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "American{" +
                "name='" + name + '\'' +
                '}';
    }

    @Override
    public void eat() {
        System.out.println("我是美国人，我爱吃西餐！");
    }
}
